//
//  YZMHomeStrategyModel.h
//  YZMicroStock
//
//  Created by apple on 16/11/8.
//  Copyright © 2016年 cqjr. All rights reserved.
//

#import <Mantle/Mantle.h>

@interface YZMHomeStrategyModel : MTLModel <MTLJSONSerializing>
@property(nonatomic, copy) NSString *stockCode;
@property(nonatomic, copy) NSString *stockName;
@property(nonatomic, assign) int buyCount;

/**
 *  保存数据到本地
 *
 *  @param array
 */
+ (void)createEncoder:(NSArray *)array;

/**
 *  从本地取数据
 *
 *  @return
 */
+ (NSMutableArray *)createDecoder;

@end
